/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from "@/utils/request";

/**
 * 检查工单系统是否开启
 *  */
export async function checkOpened(params) {
  return request("/Api/Feedback/checkSysStatus", {
    method: "POST",
    body: params,
  });
}
/**
 * 开启或关闭工单系统
 *  */
export async function changeOpenStatus(params) {
  return request("/Api/Feedback/updateSysStatus", {
    method: "POST",
    body: params,
  });
}
/**
 * 获取工单登录token
 *  */
export async function getLoginToken(params) {
  return request("/Api/Feedback/login", {
    method: "POST",
    body: params,
  });
}
